%@LANGUAGE ="VBScript.Encode" CODEPAGE=1254%>
<%
SetLocale("en-gb")
if request("cur_date")="" then
MyDate1=date()
else
MyDateArry = request("cur_date")
MyDateArry = Split(MyDateArry,"/")
MyDate1 = DateSerial(MyDateArry(2),MyDateArry(0),MyDateArry(1))
if request("action")="addmonth" then
MyDate1=DateAdd("m", 1, MyDate1)
elseif request("action")="removemonth" then
MyDate1=DateAdd("m", -1, MyDate1)
end if
end if
MonthArry = Array("Ocak","Şubat","Mart","Nisan","Mayıs","Haziran","Temmuz","Ağustos","Eylül","Ekim","Kasım","Aralık")
WeekdayArry = Array("Pazartesi","Salı","Çarşamba","Perşembe","Cuma","Cumartesi","Pazar","")
%>
<%
connopen
SQL = "SELECT * FROM EventItems WHERE DateSerial("&year(MyDate1)&","&month(MyDate1)&","&day(MyDate1)&")=evDate"
SET RS = ConnExec(SQL)
if not(rs.eof) then
do while not(rs.eof)%>
<%end if
if request("recID")<>"" then 'etkinlik detay
ConnOpen
SET RS = ConnExec("SELECT * FROM EventItems WHERE Auth=1 AND itID="&Request("RecID"))
if not(rs.eof) then %>
Etkinlik Künyesi
Etkinlik :
<%=rs("itTitle")%>
Tarih :
<%=regDate(rs("evDate"),2)%>
Saat :
<%=rs("timeStart") & " - " & rs("timeEnd") %>
Yer :
<%if rs("location")<>"" then response.write replace(rs("location"),VBCRLF," ")%>
Detayları :
<%desc=rs("desc")
if desc<>"" then response.write replace(desc,VBCRLF," ")%>